package com.wl.help_class

import com.example.haoyuban111.mubanapplication.glide.CustomImageSizeModelImp
import com.example.haoyuban111.mubanapplication.model.MomentsModel
import com.example.haoyuban111.mubanapplication.model.SecondModel
import com.example.haoyuban111.mubanapplication.model.Url
import com.wl.model.SecondModelKotlin

import java.util.ArrayList

class DataKotlinHelper {

    val names: List<SecondModelKotlin>
        get() {
            var model: SecondModelKotlin
            val list = ArrayList<SecondModelKotlin>()
            for (i in 0..49) {
                model = SecondModelKotlin()
                model.name = "hello-" + i
                list.add(model)
            }
            return list
        }

    companion object {
        //        listStr1.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_1.jpeg");
        val moments: List<MomentsModel>
            get() {
                val list = ArrayList<MomentsModel>()

                val listStr1 = ArrayList<String>()
                val model1 = MomentsModel()
                model1.setSizeModel(CustomImageSizeModelImp(Url.IMAGE_URL_FRANCE_1))
                model1.name = "num one"
                model1.text = "采菊东篱下，悠然现南山"
                listStr1.add(Url.IMAGE_URL_FRANCE_1)
                model1.imgList = listStr1
                list.add(model1)

                val listStr2 = ArrayList<String>()
                val model2 = MomentsModel()
                model2.setSizeModel(CustomImageSizeModelImp(Url.IMAGE_URL_FRANCE_1))
                model2.name = "num two"
                model2.text = "移舟泊烟渚，日暮客愁新"
                listStr2.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_1.jpeg")
                listStr2.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_2.jpeg")
                model2.imgList = listStr2
                list.add(model2)

                val listStr3 = ArrayList<String>()
                val model3 = MomentsModel()
                model3.setSizeModel(CustomImageSizeModelImp(Url.IMAGE_URL_FRANCE_1))
                model3.name = "num three"
                model3.text = "柴米油盐茶，拢捻抹复挑"
                listStr3.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_1.jpeg")
                listStr3.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_2.jpeg")
                listStr3.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_3.jpeg")
                model3.imgList = listStr3
                list.add(model3)

                val listStr4 = ArrayList<String>()
                val model4 = MomentsModel()
                model4.setSizeModel(CustomImageSizeModelImp(Url.IMAGE_URL_FRANCE_1))
                model4.name = "num four"
                model4.text = "天阶夜色凉如水，卧看牵牛织女星"
                listStr4.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_1.jpeg")
                listStr4.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_2.jpeg")
                listStr4.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_3.jpeg")
                listStr4.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_4.jpeg")
                model4.imgList = listStr4
                list.add(model4)

                val listStr5 = ArrayList<String>()
                val model5 = MomentsModel()
                model5.setSizeModel(CustomImageSizeModelImp(Url.IMAGE_URL_FRANCE_1))
                model5.name = "num five"
                model5.text = "天阶夜色凉如水，卧看牵牛织女星"
                listStr5.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_1.jpeg")
                listStr5.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_2.jpeg")
                listStr5.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_3.jpeg")
                listStr5.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_4.jpeg")
                listStr5.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_5.jpeg")
                model5.imgList = listStr5
                list.add(model5)

                val listStr6 = ArrayList<String>()
                val model6 = MomentsModel()
                model6.setSizeModel(CustomImageSizeModelImp(Url.IMAGE_URL_FRANCE_1))
                model6.name = "num six"
                model6.text = "天阶夜色凉如水，卧看牵牛织女星"
                listStr6.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_1.jpeg")
                listStr6.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_2.jpeg")
                listStr6.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_3.jpeg")
                listStr6.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_4.jpeg")
                listStr6.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_5.jpeg")
                listStr6.add("http://wmtp.net/wp-content/uploads/2017/03/0327_xianhua1126_6.jpeg")
                model6.imgList = listStr6
                list.add(model6)

                return list
            }

        val secondModels: List<SecondModel>
            get() {
                val list = ArrayList<SecondModel>()

                val model1 = SecondModel()
                model1.text = "hello 1"
                model1.avatarUrl = Url.IMAGE_URL_FRANCE_2
                model1.name = "Liszt 1"
                list.add(model1)

                val model2 = SecondModel()
                model2.text = "hello 2"
                model2.avatarUrl = Url.IMAGE_URL_FRANCE_2
                model2.name = "Liszt 2"
                list.add(model2)

                val model3 = SecondModel()
                model3.text = "hello 3"
                model3.avatarUrl = Url.IMAGE_URL_FRANCE_2
                model3.name = "Liszt 3"
                list.add(model3)

                val model4 = SecondModel()
                model4.text = "hello 4"
                model4.avatarUrl = Url.IMAGE_URL_FRANCE_2
                model4.name = "Liszt 4"
                list.add(model4)

                val model5 = SecondModel()
                model5.text = "hello 5"
                model5.avatarUrl = Url.IMAGE_URL_FRANCE_2
                model5.name = "Liszt 5"
                list.add(model5)

                val model6 = SecondModel()
                model6.text = "hello 1"
                model6.avatarUrl = Url.IMAGE_URL_FRANCE_2
                model6.name = "Liszt 1"
                list.add(model6)

                val model7 = SecondModel()
                model7.text = "hello 2"
                model7.avatarUrl = Url.IMAGE_URL_FRANCE_2
                model7.name = "Liszt 2"
                list.add(model7)

                val model8 = SecondModel()
                model8.text = "hello 3"
                model8.avatarUrl = Url.IMAGE_URL_FRANCE_3
                model8.name = "Liszt 3"
                list.add(model8)

                val model9 = SecondModel()
                model9.text = "hello 4"
                model9.avatarUrl = Url.IMAGE_URL_FRANCE_4
                model9.name = "Liszt 4"
                list.add(model9)

                val model10 = SecondModel()
                model10.text = "hello 5"
                model10.avatarUrl = Url.IMAGE_URL_FRANCE_3
                model10.name = "Liszt 5"
                list.add(model10)

                return list

            }

        val secondModels2: List<SecondModel>
            get() {
                val list = ArrayList<SecondModel>()

                val model1 = SecondModel()
                model1.text = "Fuck 1"
                model1.avatarUrl = Url.IMAGE_URL_FRANCE_1
                model1.name = "Marks 1"
                list.add(model1)

                val model2 = SecondModel()
                model2.text = "Fuck 2"
                model2.avatarUrl = Url.IMAGE_URL_FRANCE_2
                model2.name = "Marks 2"
                list.add(model2)

                val model3 = SecondModel()
                model3.text = "Fuck 3"
                model3.avatarUrl = Url.IMAGE_URL_FRANCE_3
                model3.name = "Marks 3"
                list.add(model3)

                val model4 = SecondModel()
                model4.text = "Fuck 4"
                model4.avatarUrl = Url.IMAGE_URL_FRANCE_4
                model4.name = "Marks 4"
                list.add(model4)

                val model5 = SecondModel()
                model5.text = "Fuck 5"
                model5.avatarUrl = Url.IMAGE_URL_FRANCE_2
                model5.name = "Marks 5"
                list.add(model5)

                val model6 = SecondModel()
                model6.text = "Fuck 1"
                model6.avatarUrl = Url.IMAGE_URL_FRANCE_3
                model6.name = "Marks 1"
                list.add(model6)

                val model7 = SecondModel()
                model7.text = "Fuck 2"
                model7.avatarUrl = Url.IMAGE_URL_FRANCE_4
                model7.name = "Marks 2"
                list.add(model7)

                val model8 = SecondModel()
                model8.text = "Fuck 3"
                model8.avatarUrl = Url.IMAGE_URL_FRANCE_1
                model8.name = "Marks 3"
                list.add(model8)

                val model9 = SecondModel()
                model9.text = "Fuck 4"
                model9.avatarUrl = Url.IMAGE_URL_FRANCE_2
                model9.name = "Marks 4"
                list.add(model9)

                val model10 = SecondModel()
                model10.text = "Fuck 5"
                model10.avatarUrl = Url.IMAGE_URL_FRANCE_4
                model10.name = "Marks 5"
                list.add(model10)

                return list

            }

        val secondModelsKotlin: List<SecondModelKotlin>
            get() {
                val list = ArrayList<SecondModelKotlin>()

                val model1 = SecondModelKotlin()
                model1.text = "Fuck 1"
                model1.avatarUrl = Url.IMAGE_URL_FRANCE_1
                model1.name = "Marks 1"
                list.add(model1)

                val model2 = SecondModelKotlin()
                model2.text = "Fuck 2"
                model2.avatarUrl = Url.IMAGE_URL_FRANCE_2
                model2.name = "Marks 2"
                list.add(model2)

                val model3 = SecondModelKotlin()
                model3.text = "Fuck 3"
                model3.avatarUrl = Url.IMAGE_URL_FRANCE_3
                model3.name = "Marks 3"
                list.add(model3)

                val model4 = SecondModelKotlin()
                model4.text = "Fuck 4"
                model4.avatarUrl = Url.IMAGE_URL_FRANCE_4
                model4.name = "Marks 4"
                list.add(model4)

                val model5 = SecondModelKotlin()
                model5.text = "Fuck 5"
                model5.avatarUrl = Url.IMAGE_URL_FRANCE_2
                model5.name = "Marks 5"
                list.add(model5)

                val model6 = SecondModelKotlin()
                model6.text = "Fuck 1"
                model6.avatarUrl = Url.IMAGE_URL_FRANCE_3
                model6.name = "Marks 1"
                list.add(model6)

                val model7 = SecondModelKotlin()
                model7.text = "Fuck 2"
                model7.avatarUrl = Url.IMAGE_URL_FRANCE_4
                model7.name = "Marks 2"
                list.add(model7)

                val model8 = SecondModelKotlin()
                model8.text = "Fuck 3"
                model8.avatarUrl = Url.IMAGE_URL_FRANCE_1
                model8.name = "Marks 3"
                list.add(model8)

                val model9 = SecondModelKotlin()
                model9.text = "Fuck 4"
                model9.avatarUrl = Url.IMAGE_URL_FRANCE_2
                model9.name = "Marks 4"
                list.add(model9)

                val model10 = SecondModelKotlin()
                model10.text = "Fuck 5"
                model10.avatarUrl = Url.IMAGE_URL_FRANCE_4
                model10.name = "Marks 5"
                list.add(model10)

                return list

            }

        val stringList: List<String>
            get() {
                val list = ArrayList<String>()
                list.add("推荐")
                list.add("视频")
                list.add("热门")
                list.add("社会")
                list.add("娱乐")
                list.add("科技")
                list.add("电影")
                list.add("图片")
                list.add("美图")
                list.add("国际")
                list.add("体育")
                list.add("美女")
                list.add("搞笑")
                list.add("故事")
                list.add("美文")
                list.add("教育")
                list.add("养生")
                list.add("奇葩")
                list.add("趣图")
                list.add("时尚")
                list.add("财经")
                list.add("数码")
                list.add("城市")
                list.add("汽车")
                list.add("军事")
                list.add("段子")
                list.add("健康")
                list.add("正能量")
                list.add("健身")
                list.add("房产")
                list.add("历史")
                list.add("育儿")
                list.add("手机")
                list.add("旅游")
                list.add("宠物")
                list.add("情感")
                list.add("家居")
                list.add("文化")
                list.add("游戏")
                list.add("股票")
                list.add("科学")
                list.add("动漫")
                list.add("摄影")
                list.add("语录")
                list.add("星座")
                list.add("炫酷")
                list.add("收藏")
                list.add("两性")
                list.add("女性")
                list.add("心理")

                return list
            }
    }
}
